package com.thread.t6;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/9/18
 * @Description
 */
public class MyThread1 extends Thread{


    public MyThread1(){
        System.out.println("构造方法打印："+ Thread.currentThread().getName());
    }
    @Override
    public void run() {
        System.out.println("run 方法打印："+Thread.currentThread().getName());
    }
}
